#pragma once
#include"Student.h"
#include <string>
#include <vector>
using namespace std;
class Class
{
private:
	string classNumber;
	string password;
public:
	vector<Student> students;
	Class();
	Class(string classNumber,string password);
	void setRank();
	void addStudent(string studentNumber, string name, string gender, int courseSum, string CourseName[], int CourseGrade[], string password);
	bool deleteStudent(string studentNumber);
	int findstudent(string studentNumber);
	void printClassGradeRank();
	bool changePassword(string oldPassword,string newPassword);
	string getPassword();
	bool enterPassword(string password);
};

